package edu.chl.food_store.entities;

import java.io.Serializable;
import javax.persistence.Embeddable;

/**
 * Embeddable Entity. Used by the Customer Entity.
 */
@Embeddable
public class Address implements Serializable {

    String street;
    String city;
    String country;

    public Address() {
    }

    public Address(String street, String city, String country) {
        this.street = street;
        this.city = city;
        this.country = country;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street;
    }
}
